import type { JSX } from 'react'
import './style.scss'

interface PropsType {
  children?: JSX.Element
}

const MyCard: React.FC<PropsType> = ({ children }) => {
  return <div className="card">
    <div className="my_header">
      <div className="vertical-line"></div>
      <div className="title">标题样式</div>
    </div>
    <div className="content">
      {children}
    </div>
  </div>
}

export default MyCard